DocumentTypeFile 
EntityType  Independent 
Logical Entity Name  DocumentTypeFile 
Default Table Name  CmEDocument 
Logical Only  NO 
Definition 
 
Note 
 

DocumentTypeFile Attributes 
Attribute/Logical Rolename  Domain  Datatype  NULL  Definition 
DocumentTypeFileId(PK)    INTEGER  NO 
 
DocumentTypeId(FK)    INTEGER  NO 
 
FileName    VARCHAR(128)  NO 
 
LastModifiedUserId(FK)    INTEGER  NO 
 
LastModifiedDateTime    DATETIME  NO 
 
CreatedDateTime    DATETIME  NO 
 
RowVersion    TIMESTAMP/DATE  NO 
 
DocumentImage    PICTURE  YES 
 

DocumentTypeFile Keys 
Key Name  Key Type  Keys 
CmEDocument_UserID_N_N_IDX  Inversion Entry  LastModifiedUserId 
CmEDocument_CmDocTypeID_DocumentName_U_N_IDX  Alternate Key  DocumentTypeId, FileName 
CmEDocument_CmDocTypeID_N_N_IDX  Inversion Entry  DocumentTypeId 
PK__CmEDocument__2918F87B  PrimaryKey  DocumentTypeFileId 

DocumentTypeFile Relationships 
Parent Relationships: 
Entity Name  Type  Cardinality  Business Name  VerbPhrase  InversePhrase  Foreign Keys  Is Supertype 
DocumentType  Non-Identifying  Zero or One to Zero or More        DocumentTypeId  NO 
DocumentType  Non-Identifying  One To Zero or More        DocumentTypeId  NO 
Staff  Non-Identifying  One To Zero or More        LastModifiedUserId  NO 
Child Relationships: 
Entity Name  Type  Cardinality  Business Name  VerbPhrase  InversePhrase  Foreign Keys  Is Subtype 

DocumentTypeFile Check Constraints 
Check Constraint Name  CheckConstraint